package com.easipass.exangeservice.msg;

/**
 * 
 * @version $Id$
 * @author itea
 * @date 2009-12-10
 */
public class BeanMsg extends AbstractMsg {

	public BeanMsg() {}
	
	public BeanMsg(Msg msg) {
		this.copyAttributesFrom(msg);
	}
	
	public BeanMsg(Object bean) {
		setBean(bean);
	}
	
	/** "BeanMsg.ATTR_BEAN" */
	public static final String ATTR_BEAN = "BeanMsg.ATTR_BEAN";
	
	public Object getBean() {
		return getAttribute(ATTR_BEAN);
	}
	
	public void setBean(Object bean) {
		setAttribute(ATTR_BEAN, bean);
	}
}
